﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AuthCenter.Domain
{
    public class ApplyModel:BaseEntity
    {
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string UserName { get; set;}
        /// <summary>
        /// 申请部门Id
        /// </summary>
        public long departmentId { get; set; }
        /// <summary>
        /// 请假类别
        /// </summary>
        public string TypeName { get; set; }
        // <summary>
        /// 请假时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 请假结束时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 请假事由
        /// </summary>
        public string Reason { get; set; }
        /// <summary>
        /// 部门领导
        /// </summary>
        public string Leader {  get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public string Status { get; set; } = "待审核";
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }=DateTime.Now;
        /// <summary>
        /// 请假天数
        /// </summary>
        public int Hour {  get; set; }
        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime reportTime { get; set; }

        /// <summary>
        /// 审批意见
        /// </summary>
        public string ?Remark { get; set; }
    }
}
